provider Environments GET /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/
List a Project's Environments
Lists a project's environments.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string
visibility query
The visibility of the environments to filter by. Defaults to `visible`.
enum: all, hidden, visible

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listAProjectSEnvironments
GET/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/environments/
Lists a project's environments.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

The visibility of the environments to filter by. Defaults to `visible`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.listAProjectSEnvironments()